package com.tanhua.dubbo.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.model.db.Report;
import org.apache.ibatis.annotations.Select;

public interface ReportMapper extends BaseMapper<Report> {
    @Select("select * from tb_report where user_id = #{userId} and questionnaire_Id = #{questionnaireId}")
    Report findByUserId(Long userId, Long questionnaireId);
}
